package com.crm.miaohe.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BaseModel {
    @JsonIgnore
    private LocalDateTime createTime;
    @JsonIgnore
    private String createUser;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime updateTime;
    @JsonIgnore
    private String updateUser;
    @JsonIgnore
    private Long version;
}
